<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.lmpop.trade.ti_custcomment.*" %>
<%@page import="com.lmpop.trade.ti_customer.*" %>
<%@page import="java.util.*" %>
<%@page import="com.lmpop.trade.ti_goods.*" %>

  <% 

  	String order_no="";
  	if(request.getParameter("order_no")!=null) order_no = request.getParameter("order_no");
 
  	String cust_id="";
  	if(request.getParameter("cust_id")!=null) cust_id = request.getParameter("cust_id");
 	
	
	String para = "/program/member/order/index.jsp?menu_id="+menu_id;
  %>
 
   

	
  <!--// plugin-specific resources //-->
<script type="text/javascript" src="js/kissy-min.js" ></script>
 <link href='css/starscore.css' type="text/css" rel="stylesheet"/>
 
  <script src="js_comment.js"></script>
	
   
 <form action="/doTradeReg.do" method="post" name="addForm">

<div class="f-right w750">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#eddfea">
      <tr>
        <td width="5%" height="40" align="center"><img src="/program/member/index/images/icon1.gif" /></td>
        <td width="75%"><h3>交易评价</h3></td>

      </tr>
    </table>


    <DIV class="focus-area-setTab">
      <DIV class="focus-area-setTab-menu">
        <DIV class="clear"></DIV>
      </DIV>
      <DIV class="focus-area-setTab-content">
        <DIV id=con_one_1 >
          <table width="100%" border="0" cellspacing="0" bgcolor="#fcf8fb" cellpadding="0" style="border-bottom:3px solid #eddfea; padding-left:15px;">
            <tr bgcolor="#fcf8fb">
              <td height="100" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size:12px;">
                  <tr>
                    <td height="17" colspan="2" class="art_col">&nbsp;</td>
                  </tr>
                  <tr>
                    <td width="90" height="38" class="art_col">所属订单:</td>
                    <td>
                    	<input type="text" name="d_order_no" id ="d_order_no" disabled value="<%=order_no%>" style="WIDTH: 225px">
                     </td>
                  </tr>
                  <tr>
                    <td height="38" class="art_col">评论内容<font color="red">*</font></td>
                    <td>
				         	<textarea name="content" id="content"  style="WIDTH: 425px;HEIGHT:100px" ></textarea>
                    </td>
                  </tr>
                 
                   <tr>
                    <td height="38" class="art_col">评价级别<font color="red">*</font></td>
                    <td>
					          <input name="info_level" id="info_level1" type="radio" value='0' checked/>好评
						        <input name="info_level" id="info_level2" type="radio" value='1'/>中评
						        <input name="info_level" id="info_level3" type="radio" value='2' />差评
						   
					           </td>
                  </tr>

                </table>
				</td>
            </tr>
			<tr>
				<td>
		<div id="J_Rating" class="rating-bd">

        <div class="shop-rating">
            <span class="title">商品与描述相符:</span>
            <ul class="rating-level">
                <li><a href="#" data-star-value="1" class="one-star">1</a></li>
                <li><a href="#" data-star-value="2" class="two-stars">2</a></li>
                <li><a href="#" data-star-value="3" class="three-stars">3</a></li>
                <li><a href="#" data-star-value="4" class="four-stars">4</a></li>
                <li><a href="#" data-star-value="5" class="five-stars">5</a></li>
            </ul>
            <span class="result"></span>
            <input type="hidden" size="2" value="" id="same_num" name="same_num" />
			<input type="hidden" size="2" value="" name="same_num_tem" />

        </div>

        <div class="shop-rating">
            <span class="title">卖家的服务态度:</span>
            <ul class="rating-level">
                <li><a href="#" data-star-value="1" class="one-star">1</a></li>
                <li><a href="#" data-star-value="2" class="two-stars">2</a></li>
                <li><a href="#" data-star-value="3" class="three-stars">3</a></li>

                <li><a href="#" data-star-value="4" class="four-stars">4</a></li>
                <li><a href="#" data-star-value="5" class="five-stars">5</a></li>
            </ul>
            <span class="result"></span>
            <input type="hidden" size="2" value="" id="service_num" name="service_num" />
			<input type="hidden" size="2" value="" name="service_num_tem" />
        </div>

        <div class="shop-rating">

            <span class="title">卖家发货的速度:</span>
            <ul class="rating-level">
                <li><a href="###" data-star-value="1" class="one-star">1</a></li>
                <li><a href="###" data-star-value="2" class="two-stars">2</a></li>
                <li><a href="###" data-star-value="3" class="three-stars">3</a></li>
                <li><a href="###" data-star-value="4" class="four-stars">4</a></li>
                <li><a href="###" data-star-value="5" class="five-stars">5</a></li>
            </ul>
            <span class="result"></span>
            <input type="hidden" size="2" value="" id="speed_num" name = "speed_num" />
			<input type="hidden" size="2" value="" name="speed_num_tem" />
        </div>
        <div class="rating-pop-tip hide"></div>
        <!-- <p class="msg"><span class="error"></span></p> -->
    </div>

    <script src="js/starscore.js"></script>
    <script>
        KISSY.ready(function(S) {
            new S.StarRating('#J_Rating',
                {reason: [['完全不一样', '差别很大', '一般般', '差不多', '完全一致'],
                            ['太恶劣了', '不好', '一般般', '不错', '非常好'],
                            ['太慢了', '有点小慢', '一般般', '挺快的', '超级快!']],
                level: ['非常不满意','很不满意','一般','很满意','非常满意'],
				enable: true
				}
            );

        });
    </script>				
				</td>
			</tr>
          </table>
 		  
          <table width="100%" border="0" cellspacing="0" cellpadding="0" >
            <tr>
              <td height="50" align="center">
             	
             	<input type="hidden" name="bpm_id" value="5079" />
 
             	
             	<input type="hidden" name="cust_id" value="<%=cust_id%>" />
				<input type="hidden" name="cust_id" value="<%=cust_id%>" />
				<input type="hidden" name="jumpurl" value="<%=para%>" />
             	
             	<input type="hidden" name="order_no" value="<%=order_no%>" />


 
              <input type="button" name="Submit2" value=" 提 交 " class="button2" onclick="subForm()">
               <span style="margin-left:20px;"></span>		 	        
               <input type="button" name="Submit2" value=" 返 回 " class="button2" onclick="window.location.href='index.jsp?menu_id=<%=menu_id%>';">
              </td>
            </tr>
          </table>
        </DIV>
      
      </DIV>
    </DIV>
  </div>
</div>
 
</form>
